
<%@taglib uri="/WEB-INF/struts-bean.tld" prefix="bean"%>
<%@taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@taglib uri="http://java.fckeditor.net" prefix="FCK" %>
<%@taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@taglib uri="http://jsptags.com/tags/navigation/pager" prefix="bg" %>




<div>
    <p align="right"><a href="sale.do?action=listFillter" >Package Duration</a>||
        <a href="sale.do?action=listFillterT" >Package Type</a>||
        <a href="sale.do?action=listFillterP" >Package Cost</a>||
        <a href="#" >Income range of customers</a>||
        <a href="sale.do?action=listFillterJ" >Group type of customers</a> ||
        <a href="sale.do?action=listFillterS" >Season</a> &emsp;&emsp;&emsp;

    </p>
    <bg:pager url="paging.do" maxIndexPages="5" maxPageItems="10">
        <bg:param name="action" value="pagingSaleTour"/>
        <table width="100%" border="0">

            <tr bgcolor="#C2D1D8" >

                <td><font size="1">TourId</font> </td>
                <td><font size="1">TypeId</font></td>
                <td><font size="1">TourName</font></td>
                <td><font size="1">Departure</font></td>
                <td><font size="1">Destination</font></td>
                <td><font size="1">Duration</font></td>
                <td><font size="1">TourServiceName</font></td>
                <td><font size="1">TypeName</font></td>
                <td><font size="1">Order Id</font></td>
                <td><font size="1">StartDate</font></td>
                <td><font size="1">AduldQty</font></td>
                <td><font size="1">ChildQty</font></td>
                <td><font size="1">Customer Code</font></td>
                <td><font size="1">Total</font></td>


            </tr>
            <logic:present name="listSale">
                <logic:iterate id="list" name="listSale">
                    <bg:item>
                        <tr>

                            <td><font size="1"> <bean:write name="list" property="tourId"/></font></td>
                            <td><font size="1"><bean:write name="list" property="typeId"/></font></td>
                            <td><font size="1"><bean:write name="list" property="tourName"/></font></td>
                            <td><font size="1"><bean:write name="list" property="departure"/></font></td>
                            <td><font size="1"><bean:write name="list" property="destination"/></font></td>
                            <td><font size="1"><bean:write name="list" property="duration"/></font></td>
                            <td><font size="1"><bean:write name="list" property="tourServiceName"/></font></td>
                            <td><font size="1"><bean:write name="list" property="typeName"/></font></td>
                            <td><font size="1"><bean:write name="list" property="orderId"/></font></td>
                            <td><font size="1"><bean:write name="list" property="startDate"/></font></td>
                            <td><font size="1"><bean:write name="list" property="totalQty"/></font></td>
                            <td><font size="1"><bean:write name="list" property="chidlQty"/></font></td>

                            <td><font size="1"><bean:write name="list" property="custId"/></font></td>
                            <td><font size="1"><bean:write name="list" property="amount"/></font></td>


                        </tr>
                    </bg:item>
                </logic:iterate>
            </logic:present>
            <tr>
                <td colspan="14" bgcolor="#C2D1D8"> <font color="#C2D1D8">
                        <bg:index>
                            <bg:prev><a href="<%= pageUrl%>"><font color="#0D6AC1">[&lt;&lt;Prev]</font></a></bg:prev>
                            <bg:pages><a href="<%= pageUrl%>"><%= pageNumber%>&nbsp;&nbsp;</a></bg:pages>
                            <bg:next ><a href="<%= pageUrl%>"><font color="#0D6AC1">[Next&gt;&gt;]</font></a></bg:next>
                        </bg:index>

                    </font></td>
            </tr>

        </table>
    </bg:pager>
</div>